package pres.lnk.learn.designpattern.o_command.receiver;

/**
 * 灯泡
 * @Author lnk
 * @Date 2018/4/13
 */
public class LightReceiver implements Receiver {

    @Override
    public void on() {
        System.out.println("执行开灯操作...");
    }

    @Override
    public void off() {
        System.out.println("执行关灯操作...");
    }
}
